package com.hs.jhzd.service.message;

public interface MessageProducer {
	/**
	 * Send message.
	 *
	 * @param object
	 *            the object
	 */
	public void sendMessage(Object object);

	/**
	 * Send message.
	 *
	 * @param routingKey
	 *            the routing key
	 * @param object
	 *            the object
	 */
	public void sendMessage(String routingKey, Object object);
}
